import request from "../../utils/request.js";

export function queryDetailRestaurantInfo(id){
    return request({
        url: 'restaurant-manager/restaurant-maintain/'+id,
        method: 'get',
        isToken: true
    })
}

export function updateRestaurantInfo(data){
    return request({
        url: 'restaurant-manager/restaurant-maintain/update',
        method: 'put',
        data: data,
        isToken: true
    })
}